package DataSetPackage;

public abstract class DataSetReader {

	public DataSet readFile(String fileName) throws Exception {
		DataSet dataset = new DataSet();
		return dataset;
	}

	

	protected String getNameFromString(String str) {
		String name = str.trim();
		if(name.length() == 0)
			return name;
		if (name.charAt(0) == '\'') {
			int i = str.lastIndexOf('\'');
			if (i > 1) {
				name =  name.substring(1, i);
				//name.replace('\\', ' ');
				//name = name.replaceAll("\\'", "ab");
				return name;
			}
		}
		return name;
	}
}
